Integrand size = 25, antiderivative size = 168 \[ \int \frac {(b \tan (e+f x))^{5/2}}{(d \sec (e+f x))^{3/2}} \, dx=-\frac {b^{5/2} \arctan \left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right ) \sqrt {b \tan (e+f x)}}{d f \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}}+\frac {b^{5/2} \text {arctanh}\left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right ) \sqrt {b \tan (e+f x)}}{d f \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}}-\frac {2 b (b \tan (e+f x))^{3/2}}{3 f (d \sec (e+f x))^{3/2}} \]
[Out]
Time = 0.20 (sec) , antiderivative size = 168, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {2690, 2696, 2644, 335, 304, 209, 212} \[ \int \frac {(b \tan (e+f x))^{5/2}}{(d \sec (e+f x))^{3/2}} \, dx=-\frac {b^{5/2} \sqrt {b \tan (e+f x)} \arctan \left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right )}{d f \sqrt {b \sin (e+f x)} \sqrt {d \sec (e+f x)}}+\frac {b^{5/2} \sqrt {b \tan (e+f x)} \text {arctanh}\left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right )}{d f \sqrt {b \sin (e+f x)} \sqrt {d \sec (e+f x)}}-\frac {2 b (b \tan (e+f x))^{3/2}}{3 f (d \sec (e+f x))^{3/2}} \]
[In]
[Out]
Rule 209
Rule 212
Rule 304
Rule 335
Rule 2644
Rule 2690
Rule 2696
Rubi steps \begin{align*} \text {integral}& = -\frac {2 b (b \tan (e+f x))^{3/2}}{3 f (d \sec (e+f x))^{3/2}}+\frac {b^2 \int \sqrt {d \sec (e+f x)} \sqrt {b \tan (e+f x)} \, dx}{d^2} \\ & = -\frac {2 b (b \tan (e+f x))^{3/2}}{3 f (d \sec (e+f x))^{3/2}}+\frac {\left (b^2 \sqrt {b \tan (e+f x)}\right ) \int \sec (e+f x) \sqrt {b \sin (e+f x)} \, dx}{d \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}} \\ & = -\frac {2 b (b \tan (e+f x))^{3/2}}{3 f (d \sec (e+f x))^{3/2}}+\frac {\left (b \sqrt {b \tan (e+f x)}\right ) \text {Subst}\left (\int \frac {\sqrt {x}}{1-\frac {x^2}{b^2}} \, dx,x,b \sin (e+f x)\right )}{d f \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}} \\ & = -\frac {2 b (b \tan (e+f x))^{3/2}}{3 f (d \sec (e+f x))^{3/2}}+\frac {\left (2 b \sqrt {b \tan (e+f x)}\right ) \text {Subst}\left (\int \frac {x^2}{1-\frac {x^4}{b^2}} \, dx,x,\sqrt {b \sin (e+f x)}\right )}{d f \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}} \\ & = -\frac {2 b (b \tan (e+f x))^{3/2}}{3 f (d \sec (e+f x))^{3/2}}+\frac {\left (b^3 \sqrt {b \tan (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{b-x^2} \, dx,x,\sqrt {b \sin (e+f x)}\right )}{d f \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}}-\frac {\left (b^3 \sqrt {b \tan (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{b+x^2} \, dx,x,\sqrt {b \sin (e+f x)}\right )}{d f \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}} \\ & = -\frac {b^{5/2} \arctan \left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right ) \sqrt {b \tan (e+f x)}}{d f \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}}+\frac {b^{5/2} \text {arctanh}\left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right ) \sqrt {b \tan (e+f x)}}{d f \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}}-\frac {2 b (b \tan (e+f x))^{3/2}}{3 f (d \sec (e+f x))^{3/2}} \\ \end{align*}
Time = 1.01 (sec) , antiderivative size = 140, normalized size of antiderivative = 0.83 \[ \int \frac {(b \tan (e+f x))^{5/2}}{(d \sec (e+f x))^{3/2}} \, dx=-\frac {\sqrt {d \sec (e+f x)} \left (3 \arctan \left (\frac {\sqrt {\tan (e+f x)}}{\sqrt [4]{\sec ^2(e+f x)}}\right )-3 \text {arctanh}\left (\frac {\sqrt {\tan (e+f x)}}{\sqrt [4]{\sec ^2(e+f x)}}\right )+\sqrt [4]{\sec ^2(e+f x)} \sin (2 (e+f x)) \sqrt {\tan (e+f x)}\right ) (b \tan (e+f x))^{5/2}}{3 d^2 f \sqrt [4]{\sec ^2(e+f x)} \tan ^{\frac {5}{2}}(e+f x)} \]
[In]
[Out]
Time = 10.71 (sec) , antiderivative size = 168, normalized size of antiderivative = 1.00
method | result | size |
default | \(-\frac {\sin \left (f x +e \right ) \sqrt {b \tan \left (f x +e \right )}\, \left (3 \sqrt {\frac {\sin \left (f x +e \right )}{\left (\cos \left (f x +e \right )+1\right )^{2}}}\, \arctan \left (\sqrt {\frac {\sin \left (f x +e \right )}{\left (\cos \left (f x +e \right )+1\right )^{2}}}\, \left (\cot \left (f x +e \right )+\csc \left (f x +e \right )\right )\right )+3 \sqrt {\frac {\sin \left (f x +e \right )}{\left (\cos \left (f x +e \right )+1\right )^{2}}}\, \operatorname {arctanh}\left (\sqrt {\frac {\sin \left (f x +e \right )}{\left (\cos \left (f x +e \right )+1\right )^{2}}}\, \left (\cot \left (f x +e \right )+\csc \left (f x +e \right )\right )\right )+2 \cos \left (f x +e \right )-2\right ) b^{2}}{3 f \left (\cos \left (f x +e \right )-1\right ) \sqrt {d \sec \left (f x +e \right )}\, d}\) | \(168\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 379 vs. \(2 (138) = 276\).
Time = 0.59 (sec) , antiderivative size = 766, normalized size of antiderivative = 4.56 \[ \int \frac {(b \tan (e+f x))^{5/2}}{(d \sec (e+f x))^{3/2}} \, dx=\left [-\frac {16 \, b^{2} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {\frac {d}{\cos \left (f x + e\right )}} \cos \left (f x + e\right ) \sin \left (f x + e\right ) + 6 \, b^{2} d \sqrt {-\frac {b}{d}} \arctan \left (\frac {{\left (\cos \left (f x + e\right )^{3} - 5 \, \cos \left (f x + e\right )^{2} - {\left (\cos \left (f x + e\right )^{2} + 6 \, \cos \left (f x + e\right ) + 4\right )} \sin \left (f x + e\right ) - 2 \, \cos \left (f x + e\right ) + 4\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {-\frac {b}{d}} \sqrt {\frac {d}{\cos \left (f x + e\right )}}}{4 \, {\left (b \cos \left (f x + e\right )^{2} - {\left (b \cos \left (f x + e\right ) + b\right )} \sin \left (f x + e\right ) - b\right )}}\right ) - 3 \, b^{2} d \sqrt {-\frac {b}{d}} \log \left (\frac {b \cos \left (f x + e\right )^{4} - 72 \, b \cos \left (f x + e\right )^{2} - 8 \, {\left (7 \, \cos \left (f x + e\right )^{3} - {\left (\cos \left (f x + e\right )^{3} - 8 \, \cos \left (f x + e\right )\right )} \sin \left (f x + e\right ) - 8 \, \cos \left (f x + e\right )\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {-\frac {b}{d}} \sqrt {\frac {d}{\cos \left (f x + e\right )}} + 28 \, {\left (b \cos \left (f x + e\right )^{2} - 2 \, b\right )} \sin \left (f x + e\right ) + 72 \, b}{\cos \left (f x + e\right )^{4} - 8 \, \cos \left (f x + e\right )^{2} - 4 \, {\left (\cos \left (f x + e\right )^{2} - 2\right )} \sin \left (f x + e\right ) + 8}\right )}{24 \, d^{2} f}, -\frac {16 \, b^{2} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {\frac {d}{\cos \left (f x + e\right )}} \cos \left (f x + e\right ) \sin \left (f x + e\right ) + 6 \, b^{2} d \sqrt {\frac {b}{d}} \arctan \left (\frac {{\left (\cos \left (f x + e\right )^{3} - 5 \, \cos \left (f x + e\right )^{2} + {\left (\cos \left (f x + e\right )^{2} + 6 \, \cos \left (f x + e\right ) + 4\right )} \sin \left (f x + e\right ) - 2 \, \cos \left (f x + e\right ) + 4\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {\frac {b}{d}} \sqrt {\frac {d}{\cos \left (f x + e\right )}}}{4 \, {\left (b \cos \left (f x + e\right )^{2} + {\left (b \cos \left (f x + e\right ) + b\right )} \sin \left (f x + e\right ) - b\right )}}\right ) - 3 \, b^{2} d \sqrt {\frac {b}{d}} \log \left (\frac {b \cos \left (f x + e\right )^{4} - 72 \, b \cos \left (f x + e\right )^{2} - 8 \, {\left (7 \, \cos \left (f x + e\right )^{3} + {\left (\cos \left (f x + e\right )^{3} - 8 \, \cos \left (f x + e\right )\right )} \sin \left (f x + e\right ) - 8 \, \cos \left (f x + e\right )\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {\frac {b}{d}} \sqrt {\frac {d}{\cos \left (f x + e\right )}} - 28 \, {\left (b \cos \left (f x + e\right )^{2} - 2 \, b\right )} \sin \left (f x + e\right ) + 72 \, b}{\cos \left (f x + e\right )^{4} - 8 \, \cos \left (f x + e\right )^{2} + 4 \, {\left (\cos \left (f x + e\right )^{2} - 2\right )} \sin \left (f x + e\right ) + 8}\right )}{24 \, d^{2} f}\right ] \]
[In]
[Out]
Timed out. \[ \int \frac {(b \tan (e+f x))^{5/2}}{(d \sec (e+f x))^{3/2}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {(b \tan (e+f x))^{5/2}}{(d \sec (e+f x))^{3/2}} \, dx=\int { \frac {\left (b \tan \left (f x + e\right )\right )^{\frac {5}{2}}}{\left (d \sec \left (f x + e\right )\right )^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
\[ \int \frac {(b \tan (e+f x))^{5/2}}{(d \sec (e+f x))^{3/2}} \, dx=\int { \frac {\left (b \tan \left (f x + e\right )\right )^{\frac {5}{2}}}{\left (d \sec \left (f x + e\right )\right )^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(b \tan (e+f x))^{5/2}}{(d \sec (e+f x))^{3/2}} \, dx=\int \frac {{\left (b\,\mathrm {tan}\left (e+f\,x\right )\right )}^{5/2}}{{\left (\frac {d}{\cos \left (e+f\,x\right )}\right )}^{3/2}} \,d x \]
[In]
[Out]